package com.jane.addressbook.bean;

public class Addressbook extends Object {
	private int id;
	private String name;
	private String tel1;
	private String tel2;
	private String sex;
	private String birthday;
	private String email;
	private String adress;

	public Addressbook() {

	}

	public Addressbook(int id, String name, String tel1, String tel2,
			String sex, String birthday, String email, String adress) {
		this.id = id;
		this.name = name;
		this.tel1 = tel1;
		this.tel2 = tel2;
		this.sex = sex;
		this.birthday = birthday;
		this.email = email;
		this.adress = adress;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTel1() {
		return tel1;
	}

	public void setTel1(String tel1) {
		this.tel1 = tel1;
	}

	public String getTel2() {
		return tel2;
	}

	public void setTel2(String tel2) {
		this.tel2 = tel2;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAdress() {
		return adress;
	}

	public void setAdress(String adress) {
		this.adress = adress;
	}

	@Override
	public String toString() {
		return "Addressbook [id=" + id + ", name=" + name + ", tel1=" + tel1
				+ ", tel2=" + tel2 + ", sex=" + sex + ", birthday=" + birthday
				+ ", email=" + email + ", adress=" + adress + "]";
	}
}
